<form enctype="multipart/form-data" action="" method="post">
    {% csrf_token %}
    <input type="file" name="myFile"/>
    <br/>
    <input type="submit" value="upload"/>
</form>